home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / ply15dat.zip / LATHE1.PI < prev    next >
Text File  |  1992-11-07  |  631b  |  32 lines

  1. // Generic Polyray input File
  2. // Polyray input file: Alexander Enzmann
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from <0,7,-10>
  7.    at <0,0,0>
  8.    up <0,1,0>
  9.    angle 45
  10.    resolution 128, 128
  11.    }
  12. include "..\colors.inc"
  13. background midnight_blue
  14. light <5, 20, -10>
  15.  
  16. define lathe_object
  17. object {
  18.    lathe 1, <0, 1, 0>, 12,
  19.       <2, -1>, <3, -1>, <3.4, -2>, <4, -1.1>, <3.6, -0.9>,
  20.       <2.6, 0>,
  21.       <3.6, 0.9>, <4, 1.1>, <3.4, 2>, <3, 1>, <2, 1>,
  22.       <2, -1>
  23.    u_steps 16
  24.    shiny_red
  25.    }
  26.  
  27. object {
  28.      lathe_object
  29.    - object { box <0, -5, 0>, <5, 5, -5> shiny_green }
  30.    rotate <0, 30, 0>
  31.    }
  32.